package com.scs.application.modules.dept.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.dept.entity.ApplyAuto;
import com.scs.application.modules.dept.entity.Demand;
import com.scs.application.modules.purchase.entity.Order;

import java.util.List;

/**
 * <p>
 * Service
 * </p>
 */

public interface PurchaseAutoService extends IBaseService<ApplyAuto> {



    /**
     * 转采购单
     *
     * @param applyAutos
     * @return
     */
    List<Order> toPurchase(List<ApplyAuto> applyAutos);

    /**
     * 转采购需求单
     *
     * @param applyAutos
     * @return
     */
    List<Demand> toDemand(List<ApplyAuto> applyAutos);

    String fillQty(List<ApplyAuto> applyAutos);
}
